<!DOCTYPE html>
<html lang="cn">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>cjdoc</title>
</head>

<body>
<div class="header">
<h2>package qt.widgets</h2>
</div>

<div class="header">
<h2 title="类 QMainWindow" class="title">类 QMainWindow</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public open <span class="typeNameLabel">QMainWindow</span>
extends QWidget</pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!--   -->
</a>
<h3>方法概要</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="方法概要表, 列表方法和解释">
<caption><span>所有方法</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">限定符和类型</th>
<th class="colLast" scope="col">方法和说明</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>public  Unit</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="widgets.main_window.html#init">init</a></span>()</code>
<div class="block">The Function is init constructor</div>
</td>
<tr class="rowColor">
<td class="colFirst"><code>public  Unit</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="widgets.main_window.html#init">init</a></span>(parent: QWidget)</code>
<div class="block">The Function is init constructor</div>
</td>
<tr class="altColor">
<td class="colFirst"><code>public  Unit</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="widgets.main_window.html#setCentralWidget">setCentralWidget</a></span>(widget: QWidget)</code>
<div class="block">The Function is setCentralWidget</div>
</td>
<tr class="rowColor">
<td class="colFirst"><code>public  Unit</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="widgets.main_window.html#setMenuBar">setMenuBar</a></span>(menuBar: QMenuBar)</code>
<div class="block">The Function is setMenuBar</div>
</td>
<tr class="altColor">
<td class="colFirst"><code>public  QMenuBar</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="widgets.main_window.html#menuBar">menuBar</a></span>()</code>
<div class="block">The Function is menuBar</div>
</td>
<tr class="rowColor">
<td class="colFirst"><code>public  Unit</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="widgets.main_window.html#addToolBar">addToolBar</a></span>(toolBar: QToolBar)</code>
<div class="block">The Function is addToolBar</div>
</td>
<tr class="altColor">
<td class="colFirst"><code>public  Unit</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="widgets.main_window.html#delete">delete</a></span>()</code>
<div class="block">The Function is delete</div>
</td>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!--   -->
</a>
<h3>方法详细资料</h3>
<a name="init">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre>public  init(): Unit</pre>
<div class="block">The Function is init constructor</div>
<dl>
</dl>
</li>
</ul>
<a name="init">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>init</h4>
<pre>public  init(parent: QWidget): Unit</pre>
<div class="block">The Function is init constructor</div>
<dl>

<dt><span class="paramLabel">参数:</span></dt>

<dd><code>parent</code> - of QWidget</dd>
</dl>
</li>
</ul>
<a name="setCentralWidget">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCentralWidget</h4>
<pre>public  setCentralWidget(widget: QWidget): Unit</pre>
<div class="block">The Function is setCentralWidget</div>
<dl>

<dt><span class="paramLabel">参数:</span></dt>

<dd><code>widget</code> - of QWidget</dd>
</dl>
</li>
</ul>
<a name="setMenuBar">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMenuBar</h4>
<pre>public  setMenuBar(menuBar: QMenuBar): Unit</pre>
<div class="block">The Function is setMenuBar</div>
<dl>

<dt><span class="paramLabel">参数:</span></dt>

<dd><code>menuBar</code> - of QMenuBar</dd>
</dl>
</li>
</ul>
<a name="menuBar">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>menuBar</h4>
<pre>public  menuBar(): QMenuBar</pre>
<div class="block">The Function is menuBar</div>
<dl>
<dt><span class="returnLabel">返回:</span></dt>
<dd>QMenuBar Type of QMenuBar</dd>
</dl>
</li>
</ul>
<a name="addToolBar">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addToolBar</h4>
<pre>public  addToolBar(toolBar: QToolBar): Unit</pre>
<div class="block">The Function is addToolBar</div>
<dl>

<dt><span class="paramLabel">参数:</span></dt>

<dd><code>toolBar</code> - of QToolBar</dd>
</dl>
</li>
</ul>
<a name="delete">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>delete</h4>
<pre>public  delete(): Unit</pre>
<div class="block">The Function is delete</div>
<dl>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>


</body>
</html>
